home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'The effect of an inner tube from a tire',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.0616667,0.82375,0.931667),
- 'Darkness': 7,
- 'Defocus': 0,
- 'Frame': {
- 'FrameColor': (16,16,16),
- 'Material': App.Constants.LensFrameMaterial.BrightBronze,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 21
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (255,255,255),
- 'LightDirection': (0.603912,0.274597,-0.748256),
- 'HighlightSize': 35
- },{
- 'LightColor': (255,255,255),
- 'LightDirection': (0.0173503,0.0573503,-0.998203),
- 'HighlightSize': 0
- },{
- 'LightColor': (90,90,90),
- 'LightDirection': (0.525949,-0.635503,0.565255),
- 'HighlightSize': 59
- },{
- 'LightColor': (90,90,90),
- 'LightDirection': (-0.426677,0.443685,0.788093),
- 'HighlightSize': 56
- }],
- 'MaxAmbience': 83,
- 'MinAmbience': 26
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 0,
- 'Magnification': 2,
- 'LensMaterial': {
- 'Color': (255,255,255),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 11,
- 'Refraction': 13,
- 'ShapeType': App.Constants.LensShape.Spherical,
- 'Shininess': 28
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-